package com.ow.dva.module.park.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.ow.dva.module.base.entity.base.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 车位分区关联表(废弃)
 * </p>
 *
 * @author YanZengBao
 * @since 2020-02-20
 * @version V1.0
 */
@TableName("dva_area_parkinglot")
@ApiModel(value="AreaParkinglot对象", description="车位分区关联表")
public class AreaParkinglot  implements Serializable  {

    private static final long serialVersionUID = 1L;

    private String id;

    @ApiModelProperty(value = "停车场ID")
    private String parkId;

    @ApiModelProperty(value = "停车场名称")
    private String parkName;

    @ApiModelProperty(value = "车位ID")
    private String parkinglotId;

    @ApiModelProperty(value = "车位编号")
    private String parkinglotCode;

    @ApiModelProperty(value = "分区ID")
    private String areaId;

    @ApiModelProperty(value = "分区名称")
    private String areaName;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @ApiModelProperty(value = "添加时间")
    private Date createTime;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }
    public String getParkId() {
        return parkId;
    }

    public void setParkId(String parkId) {
        this.parkId = parkId;
    }
    public String getParkName() {
        return parkName;
    }

    public void setParkName(String parkName) {
        this.parkName = parkName;
    }
    public String getParkinglotId() {
        return parkinglotId;
    }

    public void setParkinglotId(String parkinglotId) {
        this.parkinglotId = parkinglotId;
    }
    public String getParkinglotCode() {
        return parkinglotCode;
    }

    public void setParkinglotCode(String parkinglotCode) {
        this.parkinglotCode = parkinglotCode;
    }
    public String getAreaId() {
        return areaId;
    }

    public void setAreaId(String areaId) {
        this.areaId = areaId;
    }
    public String getAreaName() {
        return areaName;
    }

    public void setAreaName(String areaName) {
        this.areaName = areaName;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    @Override
    public String toString() {
        return "AreaParkinglot{" +
                "id=" + id +
                ", parkId=" + parkId +
                ", parkName=" + parkName +
                ", parkinglotId=" + parkinglotId +
                ", parkinglotCode=" + parkinglotCode +
                ", areaId=" + areaId +
                ", areaName=" + areaName +
                ", createTime=" + createTime +
                "}";
    }

    public AreaParkinglot() {
    }

    public AreaParkinglot(String id, String parkId, String parkName, String parkinglotId, String parkinglotCode, String areaId, String areaName, Date createTime) {
        this.id = id;
        this.parkId = parkId;
        this.parkName = parkName;
        this.parkinglotId = parkinglotId;
        this.parkinglotCode = parkinglotCode;
        this.areaId = areaId;
        this.areaName = areaName;
        this.createTime = createTime;
    }
}
